*
{
    padding: 0;
    margin:0;
    font-family: "Microsoft YaHei UI";
}
a
{
    text-decoration: none;
}
html,body
{
    height: 100%;
    background-color: #fafafa;
}
header
{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding-bottom: 20px;
    transition: all 0.3s ease;
}
.to_the_top
{
    position: fixed;
    background-color: #999;
    color: #fff;
    height: 80px;
    width: 80px;
    text-align: center;
    transition:all 0.3s ease;
    border-radius: 50%;
    cursor: pointer;
    bottom:10px;
    right:40px;
    display:none;
    opacity:0;
}
.to_the_top img
{
    width: 60%;
    margin-top: 20%;
}
.to_the_top:hover
{
    background-color: #333;
    color: #fff;
}
.header_div
{
    margin: 20px auto;
    overflow: hidden;
    transition: all 0.3s ease;
}
header.dark .logo a
{
    color: #333333;
}
.logo
{
    float: left;
    margin: 10px 0;
    transition: all 0.3s ease;
}
.logo a
{
    color: #ffffff;
    font-family: "Comic Sans MS","Microsoft YaHei UI";
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
header.dark .header_nav ul li a
{
    color: #333333;
}
.header_nav
{
    float: right;
}
.header_nav ul
{
    list-style: none;
}
.header_nav ul li
{
    display: inline-block;
}
.header_nav ul li a
{
    display: inline-block;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s ease;
}
.header_nav ul li a.active::after
{
    width: 80%;
}
.header_nav ul li a::after
{
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 10%;
    background-color: #ddd;
    transition: all 0.3s ease;
}
.header_nav ul li a:hover:after
{
    width: 80%;
}
.banner_section
{
    position: relative;
    height: 100%;
    background: url(../img/cat02.jpg) center no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 500px;
}
.banner
{
    width: 100%;
    height: 100%;
    display: table;
}
.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 6, 36, 0.6);
}
.banner_div
{
    position: relative;
    display: table-cell;
    vertical-align: middle;
}
.avatar
{
    width: 100%;
}
.avatar img
{
    display: block;
    margin: 0 auto;
    height: 180px;
    width:180px;
    border-radius: 50%;
    border: 4px solid #6f28bd;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.banner_div h1
{
    text-align: center;
    color: #f5f5f5;
    margin-top: 30px;
    line-height: 5rem;
    font-size: 2.8rem;
}
.banner_div h2
{
    text-align: center;
    color: #7a6976;
    font-size: 1.8rem;
}
.slide-down
{
    position: absolute;
    display: inline-block;
    left: 50%;
    bottom: 40px;
    margin-left: -24px;
    animation:slideDown 1s infinite;
}
@keyframes slideDown
{
    from {
        bottom:40px;
        opacity: 1;
    }
    to {
        bottom:20px;
        opacity: 0;
    }
}
.chapter
{
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 100px 0;
    overflow: hidden;
}
.chapter.dark
{
    background-color: #f5f5f5;
}
.chapter_title
{
    text-align: center;
    font-size: 2.5rem;
    color: #333333;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.chapter_sub_title
{
    text-align: center;
    list-style: none;
    margin-bottom: 40px;
}
.chapter_sub_title li
{
    display: inline-block;
    position: relative;
}
.chapter_sub_title li a
{
    display: inline-block;
    position: relative;
    color: #6c757d;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.chapter_sub_title li a:hover
{
    cursor: pointer;
}
.chapter_sub_title li::after
{
    content: "";
    height: 4px;
    width: 4px;
    border-radius: 50%;
    margin: 0 10px;
    background-color: #757575;
    display: inline-block;
    top:-4px;
    position: relative;
}
.chapter_sub_title li:last-child:after
{
    display: none;
}
.chapter_sub_title li a.active:after
{
    width: 100%;
}
.chapter_sub_title li a::after
{
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #757575;
    transition: all 0.3s ease;
}
.chapter_sub_title li a:hover:after
{
    width: 100%;
}

.gallery
{
    margin:0 auto;
    width: 1170px;
    font-size: 0;
}
.gallery_title p
{
    font-size: 1rem;
}
.gallery_div
{
    display: inline-block;
    opacity: 1;
    width: 25%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.gallery_div.drawing
{
    display: none;
    opacity: 0;
    transform:scale(0.001);
}
.gallery_div.cat
{
    display: none;
    opacity: 0;
    transform:scale(0.001);
}
.gallery_img
{
    display: inline-block;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}
.gallery_img:hover
{
    transform:scale(1.1,1.1);
}
.gallery_title
{
    position: absolute;
    bottom: -30%;
    left: 0;
    width: 90%;
    height:20%;
    padding: 5% 0 5% 10%;
    background-color: #ffffff;
    transition: all 0.3s ease;
    opacity: 0;
}
.gallery_title h4
{
    color: #333333;
    font-size: 1rem;
    line-height: 2rem;
}
.gallery_title p
{
    color: #90A4AE;
    font-size: 0.9rem;
    line-height: 1.5rem;
}
.chapter_grid
{
    margin: 40px auto;
    overflow: hidden;

}
.chapter_half_grid
{
    width:40%;
    padding: 0 5%;
    float: left;
}
.chapter_half_grid h4
{
    color: #333333;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.chapter_half_grid ol
{
    list-style: none;
}
.chapter_half_grid ol li
{
    color: #757575;
    font-size: 1rem;
    line-height: 2rem;
    letter-spacing: 1px;
}
.skill
{
    position: relative;
    overflow:hidden;
    margin-bottom: 24px;
}
.skill_tp
{
    overflow:hidden;
    margin-bottom: 4px;
}
.skill_title
{
    color: #333333;
    font-size: 0.8rem;
    float: left;
}
.skill_progress
{
    color: #333333;
    font-size: 0.8rem;
    float: right;
}
.skill_bar
{
    position: relative;
    width: 100%;
    background-color: #dcdcdc;
    border-radius: 4px;
    height: 8px;
}
.skill_progress_bar
{
    position: absolute;
    top: 0;
    left: 0;
    background-color: #333333;
    border-radius: 4px;
    height: 8px;
    width: 0;
    transition: all 0.5s ease;
}
.interest
{
    margin: 20px auto;
    text-align: center;
}
.interest tbody tr td
{
    padding: 20px 30px;
}
.interest tbody tr td img:hover
{
    transition: all 0.8s ease;
    transform: rotateY(360deg);
}
.interest tbody tr td h4
{
    margin: 10px 0;
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.interest tbody tr td hr
{
    width: 4rem;
    margin: 0 auto;
}
.interest tbody tr td p
{
    margin: 10px 0;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #757575;
    line-height: 1.5rem;
}
.small_complain
{
    font-size: 0.8rem;
    color: #90A4AE;
}
.note
{
    margin: 40px auto;
}
.note_vertical
{
    width: 75%;
    margin-top: -80px;
    display: inline-block;
}
.note_vertical .note_item
{
    width: 44%;
    margin: 20px 2% 0 0;
}
.note_sidebar
{
    width: 22%;
    display: inline-block;
    margin-top: -60px;
    vertical-align: top;
}
.note_sidebar_div h4
{
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 20px;
}
#search_note
{
    outline: none;
    width: calc(100% - 50px);
    padding: 12px 40px 12px 10px;
    border-radius: 8px;
    border: 1px solid #dddddd;
    background: #dddddd url("../img/search.png") 96% center no-repeat;
    background-size: 24px 24px;
    margin-bottom: 40px;
}
.hot_topic a
{
    display: inline-block;
    padding: 4px 6px;
    font-size: 0.8rem;
    color: #f2f2f2;
    border-radius: 3px;
    background-color: #6f28bd;
    margin-bottom: 4px;
    transition: all 1s ease;
}
.hot_topic a:hover
{
    background-color: #521a8a;
}
.note_item
{
    vertical-align: top;
    display: inline-block;
    position: relative;
    width: 27%;
    margin: 40px 2% 0 2%;;
    padding: 20px 1%;
    background-color: #fbfbfb;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}
.note_item:hover
{
    cursor: pointer;
    transform: translateY(-20px);
}
.note_pic
{
    width: 100%;
    height: 200px;
    border-radius: 2px;
    margin-bottom: 16px;
}
.note_title h5
{
    font-size: 1rem;
    margin-bottom: 8px;
    color: #333333;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.note_title p
{
    font-size: 0.8rem;
    margin-bottom: 16px;
    color: #4f4e4c;
}
.note_title p span
{
    color: #3b7b87;
    transition: all 0.3s ease;
}
.note_title p span:hover
{
    color: #f87856;
}
.note_content
{
    font-size: 0.9rem;
    line-height: 1.4rem;
    color: #4f4e4c;
}
.contact
{
    margin: 20px auto;
}
.contact_div
{
    margin: 40px 0;
}
.contact_item
{
    width: 25%;
    padding: 0 4%;
    display: inline-block;
}
.contact_icon
{
    width: 64px;
    vertical-align: top;
}
.contact_title
{
    display: inline-block;
    margin-left: 10px;
}
.contact_title h5
{
    font-size: 1rem;
    line-height: 2rem;
    color: #333333;
}
.contact_title p
{
    font-size: 0.9rem;
    line-height: 1.5rem;
    color: #757575;
}
.contact_input
{
    outline: none;
    width: 40%;
    padding: 10px 0 10px 2%;
    border-radius: 8px;
    border:1px solid #dddddd ;
}
.contact_input:first-child
{
    margin-left: 6%;
    margin-right: 1%;
}
.contact_input:last-child
{
    margin-left: 1%;
}
.contact_textarea
{
    display: block;
    outline: none;
    width: 82%;
    margin: 20px 0 0 6%;
    padding: 10px  2%;
    border-radius: 8px;
    border:1px solid #dddddd ;
    height: 120px;
}
.contact_submit
{
    display: block;
    outline: none;
    margin: 40px auto 0 auto;
    width: 120px;
    height: 50px;
    background-color: #6f28bd;
    border: 2px solid #6f28bd;
    color: #ffffff;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}
.contact_submit:hover
{
    cursor: pointer;
    color: #6f28bd;
    background-color: #ffffff;
}
.sub_banner
{
    position: relative;
    background: url("../img/banner.jpg") center no-repeat;
    background-size:cover;
    height: 180px;
    width: 100%;
    margin-top: 114px;
}
.sub_banner h2
{
    font-size: 3rem;
    letter-spacing: 2px;
    padding-top: 60px;
    margin: 0 auto;
    color: #ffffff;
}
.sub_banner h2 img.gear
{
    height: 2.5rem;
    vertical-align: middle;
    animation:rotate 2s infinite linear;
}
.timeline
{
    margin: 0 auto;
    position: relative;
}
.timeline_item
{
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
}
.timeline_item.right
{
    left: 50%;
    padding-left: 50px;
    border-left: 1px solid #dddddd;
    text-align: left;
    width: 40%;
}
.timeline_item.left
{
    width: 40%;
    padding-left: calc(10% - 50px);
    padding-right: 50px;
    border-right: 1px solid #dddddd;
    text-align: right;
}
.timeline_content
{
    border: 1px solid #dddddd;
    padding: 20px 0;
    position: relative;
    opacity: 0;
    top:50px;
    transition: all 1s ease;
}
.timeline_item:first-child .timeline_content
{
    animation:slideUp 1s forwards;
}
@keyframes slideUp
{
    from {
        opacity: 0;
        top:50px;
    }
    to {
        opacity: 1;
        top:0;
    }
}
.timeline_item.right .timeline_content h5::before
{
    content: "";
    width: 16px;
    height: 16px;
    background-color: #333333;
    border-radius: 50%;
    position: absolute;
    left: -60px;
}
.timeline_item.left .timeline_content h5::after
{
    content: "";
    width: 16px;
    height: 16px;
    background-color: #333333;
    border-radius: 50%;
    position: absolute;
    right: -60px;
}
.timeline_content h5
{
    font-size: 0.9rem;
    margin: 0 20px;
    line-height: 1.8rem;
}
.timeline_content h4
{
    font-size: 1.5rem;
    margin: 0 20px;
    line-height: 2.5rem;
}
.timeline_content p
{
    font-size: 1rem;
    margin: 0 20px;
    line-height: 2rem;
}
@keyframes rotate
{
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.paragraph
{
    margin: 0 auto;
    position: relative;
}
.paragraph_img
{
    width: 40%;
    margin: 0 5%;
    display: inline-block;
    text-align: center;
    vertical-align: top;
}
.paragraph_img img
{
    height: 120px;
    border-radius:10px;
}
.paragraph_img img.kenny
{
    border-radius: 50%;
}
.paragraph_content
{
    display: inline-block;
    padding: 20px 0;
    width: 40%;
    margin: 0 4%;
}
.paragraph_content h3
{
    font-size: 2rem;
    color: #333333;
    display: inline-block;
    margin-bottom: 20px;
}
.paragraph_content h4
{
    font-size: 1.5rem;
    color: #dcdcdc;
    display: inline-block;
    text-transform: uppercase;
}
.paragraph_content p
{
    font-size: 1rem;
    color: #666666;
    line-height: 1.8rem;
    display: inline-block;
}
footer
{
    width: 100%;
    text-align: center;
    background-color: #272732;
}
footer p
{
    color: #b4bac9;
    padding: 60px 0;
}
@media (min-width: 768px){
    .header_div, .gallery, .chapter_grid, .interest, .note, .contact,.sub_banner h2, .timeline, .paragraph
    {
        width: 750px;
    }
}
@media (min-width: 992px){
    .header_div, .gallery, .chapter_grid, .interest, .note, .contact,.sub_banner h2, .timeline, .paragraph
    {
        width: 970px;
    }
}
@media (min-width: 1200px){
    .header_div, .gallery, .chapter_grid, .interest, .note, .contact,.sub_banner h2, .timeline, .paragraph
    {
        width: 1170px;
    }
}